import Toast1 from './Toast'
let Toast={}
Toast.install= function (Vue) {
        let toastTpl = Vue.extend(Toast1)
        let $vm = new toastTpl()
        console.log($vm)
        let tpl = $vm.$mount().$el
        //$vm.$mount(document.createElement('div'))
        document.body.appendChild(tpl)
        Vue.prototype.$toast = $vm

}
export default Toast
